<?php

namespace App\Admin\Requests;

class SettingUpdateRequest extends Request
{
    public function rules()
    {
        return [
            'id'    => 'required',
            'value' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'id.required'    => '缺少參數',
            'value.required' => '配置值不能為空',
        ];
    }
}
